<?php /* Smarty version Smarty-3.1.13, created on 2013-08-08 02:19:52
         compiled from "C:\xampp\htdocs\codigogm\application\view\agenda\insert.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2772051fad4148b0820-32164732%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '09d0fe2bdf5f11571cfc751961e137ea0dd05298' => 
    array (
      0 => 'C:\\xampp\\htdocs\\codigogm\\application\\view\\agenda\\insert.tpl',
      1 => 1375921153,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '2772051fad4148b0820-32164732',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.13',
  'unifunc' => 'content_51fad41494a7d8_82411246',
  'variables' => 
  array (
    'header' => 0,
    'msgInsert' => 0,
    'msgFailInsert' => 0,
    'footer' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_51fad41494a7d8_82411246')) {function content_51fad41494a7d8_82411246($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ($_smarty_tpl->tpl_vars['header']->value, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<div id="content">
<?php if ($_SESSION['logged']==1){?>
 <h2>Novo contato</h2>
 <form id="formContato" method="post">
  <div class="form_settings">
   <p><span>Nome:</span><input type="text" name="name" class="validate[required]" placeholder="Nome"/></p>
   <p><span>Celular:</span><input type="tel" name="cel" id="cel" placeholder="Celular (xx) xxxx-xxxx"/></p>
   <p><span>Telefone:</span><input type="tel" name="tel" id="tel" placeholder="Telefone (xx) xxxx-xxxx"/></p>
   <p><span>Email:</span><input type="email" class="validate[custom[email]]"
   name="email" placeholder="Email"/></p>
   <p><span>Twitter:</span><input type="text" name="twitter" placeholder="Twitter"/></p>
   <p style="padding-top: 15px"><span>&nbsp;</span><input class="submit" type="submit"
   name="salvar" value="salvar" /></p>
  </div>
 </form>
 <p><?php echo $_smarty_tpl->tpl_vars['msgInsert']->value;?>
</p>
<?php }else{ ?>
 <p><?php echo $_smarty_tpl->tpl_vars['msgFailInsert']->value;?>
</p>
<?php }?>
<?php echo $_smarty_tpl->getSubTemplate ($_smarty_tpl->tpl_vars['footer']->value, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
 
<?php }} ?>